package com.lzl.java;

import com.lzl.anno.Hours;

public class Worker {
    public static void main(String[] args){
        Hours[] hours = Worker.class.getAnnotationsByType(Hours.class);
        for (Hours h : hours){
            System.out.println(h);
        }
    }
}
